package com.lh.java.basic.jvm;


public class MainOne {

	/**
	 * 功能描述  
	 * @Author: lh  2013-3-20 下午12:01:14
	 */
	public static void main(final String[] args) {
		boolean twoIsNotCall = true;
		while (true) {
			System.out.println("i am main one start");
		
//			MailTwo.main(args);
			if(twoIsNotCall){
				twoIsNotCall = false;
				new Thread(new Runnable() {
					
					@Override
					public void run() {
						MainTwo.main(args);
						
					}
				}).start();				
			}
			System.out.println("i am main one over");
			
		}

	}

}
